Adding New Users
It is hoped that this will be replaced with a proper LDAP/Kerberos setup in the near future.
- Request user to generate ed25519 keypair on their own machine using the following command:
ssh-keypair -t ed25519 -C "alias@tcd.ie"
-
Fill in the information in Users section for the new user
-
Create the user account. Fill in their name, and room number to be
4074aThe rest of the details can be left blank.
adduser alias
- If appropriate, add the user to the sudo group (Ensure : follows the name of the server in the Users file) with a temporary password
adduser alias sudo
- Login as the user and add their key to their authorized_keys (Create it if it doesn't exist)
su alias
mkdir ~/.ssh
vi ~/.ssh/authorized_keys
- Set their password to expire on login
passwd --expire alias
- Email the user with a link to this documentation.